package cn.serenedream.housedecoration.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import org.springframework.lang.Nullable;

@Entity
public class Model {
    @Id
    private Long id;

    @Nullable
    private String size;
    @Nullable
    private String thickness;

    public Model() {
    }

    public Model(Long id, @Nullable String size, @Nullable String thickness) {
        this.id = id;
        this.size = size;
        this.thickness = thickness;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Nullable
    public String getSize() {
        return size;
    }

    public void setSize(@Nullable String size) {
        this.size = size;
    }

    @Nullable
    public String getThickness() {
        return thickness;
    }

    public void setThickness(@Nullable String thickness) {
        this.thickness = thickness;
    }
}
